<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>工程二(本地)</h1>
<button>点击</button>

</body>
</html>
<script src="js/jquery-3.1.0.min.js"></script>
<script>

    $(()=>{
        $("button").click(function(){

            $.ajax({
                type:"get",
                url:"http://localhost:8082/showStudent",
                dataType:"json",
                success:(data)=>{
                    console.log("本地工程==",data);
                }
            });

        }) ;
    });

</script>